package com.dormitory.manage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dormitory.manage.pojo.Profession;
import com.dormitory.manage.vo.AddProfessionVo;

import java.util.List;

/**
 * @author Administrator
 * @version 1.0
 * @description ProfessionService
 * @date 2023/4/10 0010 14:23
 */
public interface ProfessionService extends IService<Profession> {
    List<String> getProfessionNames();

    List<Profession> getAll(Integer collegeId);

    boolean removeProfessionByCollegeId(Long id);

    boolean removeProfession(Long id);

    Profession getProfessionInfo(Long id);

    boolean addProfession(AddProfessionVo addProfessionVo);

    boolean updateProfession(Profession profession);
}
